home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
lockf.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-01
|
276b
|
19 lines
/*
* lockf(3) and flock(2) emulation for MiNT by Dave Gymer
* Placed in the public domain; do with me as you will!
*/
#include <unistd.h>
#include <fcntl.h>
#include "lib.h"
int
lockf(fd, cmd, size)
int fd;
int cmd;
long size;
{
return _do_lock(fd, cmd, size, 1);
}